const proxy = require('http-proxy-middleware');

module.exports = function (app) {
  // 首页和分类页反向代理
  app.use(proxy('/daoju/v3/zb/client/goods/GoodsApp.php',{
    target: 'https://capps.game.qq.com',
    changeOrigin: true
  }))
}